<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>insert title here</title>
</head>
<body>
<body class="bodycolor" topmargin="5">
	<table border="0" width="100%" cellspacing="0" cellpadding="3"
		class="small">
		<tbody>
			<tr>
				<td class="Big"><span class="big3"> 新建用户档案 (${deptName })</span></td>
			</tr>
		</tbody>
	</table>
	<div align="center">
		<form action="" method="get">
			<input type="hidden" value="${deptId }" name="deptId"> <input
				type="hidden" value="${deptName }" name="deptName"> <input
				type="submit" value="新建用户档案"
				onclick="javascript:this.form.action='<%=request.getContextPath()%>/user/addEmployee.do'">
		</form>
	</div>
	<br>

	<table border="0" width="100%" cellspacing="0" cellpadding="3"
		class="small">
		<tbody>
			<tr>
				<td class="Big"><span class="big3"> <a name="bottom">[${deptName }]用户档案列表${countUser }人,未建档${dept }人</a></span><a
					name="bottom"> </a></td>
			</tr>
		</tbody>
	</table>
	<table width="100%" class="TableList">
		<tbody>
			<tr class="TableHeader">
				<td align="center">选择</td>
				<td align="center">姓名</td>
				<td align="center">性别</td>
				<td align="center">出生年月</td>
				<td align="center">民族</td>
				<td align="center">籍贯</td>
				<!-- 				<td align="center">政治面貌</td> -->
				<td align="center">身份证号码</td>
				<td align="center">操作</td>
			</tr>
			<tr class="TableData">
				<c:forEach items="${user}" var="u">
					<tr style="white-space: nowrap;">
						<td>&nbsp;<input type="checkbox" name="hrms_select"
							value="admin" onclick="check_one(self);">
						</td>
						<td align="center">${u['userName']}</td>
						<td align="center">${u['max']}</td>
						<td align="center">${u['birthday']}</td>
						<td align="center">${u['nation']}</td>
						<td align="center">${u['nativePlace']}</td>
						<%-- 						<td align="center">${u['birthday']}</td> --%>
						<td align="center">${u['idCard']}</td>
						<td align="center"><a
							href="<%=request.getContextPath()%>/user/selectUser.do?userId=${u['id'] }">
								编辑</a> <a
							href="<%=request.getContextPath()%>/user/deleteUser.do?userId=${u['id'] }">
								删除</a></td>


					</tr>
				</c:forEach>
			</tr>
		</tbody>
	</table>

</body>

<script
	src="<%=request.getContextPath()%>/StlyeFrame/lhgcalendar/lhgcore.js"></script>
<script
	src="<%=request.getContextPath()%>/StlyeFrame/lhgcalendar/lhgcalendar.js"></script>
<script src="<%=request.getContextPath()%>/StlyeFrame/js/jquery.js"></script>
<script
	src="<%=request.getContextPath()%>/StlyeFrame/js/libs/jquery.min.js"></script>
</body>

</html>